﻿using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Logistics;

namespace Nop.Data.Mapping.Logistics
{
    public partial class PackageNoteTemplateMap : EntityTypeConfiguration<PackageNoteTemplate>
    {
        public PackageNoteTemplateMap()
        {
            this.ToTable("LogisticsPackageNoteTemplate");
            this.HasKey(pnt => pnt.Id);
            this.Property(pnt => pnt.SystemName).IsRequired().HasMaxLength(100);
            this.Property(pnt => pnt.Content).IsRequired();
        }
    }
}
